﻿using AutoMapper;
using YXChatApiService.Application.AccountServices.Dtos;
using YXChatApiService.Core.AccountEntity;

namespace YXChatApiService.Application.AccountServices.Mapper
{
    public class AccountAutoMapper:Profile
    {
        public AccountAutoMapper()
        {
            CreateMap<AccountEditDto,Account>();
            CreateMap<Core.AccountEntity.Account,AccountDto>();
        }
    }
}